package com.kamistoat.reactortest.service;

import com.kamistoat.reactortest.entity.Order;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

public interface OrderService {
    Flux<Order> getOrders();

    Mono<Void> deleteOrderById(Long id);

    Mono<Order> getOrderById(Long id);
}
